package com.xinchuang.service.targetSystem.config;

import com.alibaba.fastjson.JSONObject;
import com.xinchuang.common.Result;
import com.xinchuang.entity.targetSystem.config.SystemConfig;

/**
 * @ClassName SystemConfigService
 * @Description: TODO(写一段描述的话)
 * @Author zhangxuan
 * @Date 2022-08-09 10:12
 * @Verion V1.0
 */
public interface SystemConfigService {

    Result addOrUpdateSystemConfig(SystemConfig systemConfig);

    Result deleteSystemConfig(String id);

    Result selectSystemConfig(Integer pageNum, Integer pageSize, Boolean isPull);

    void init();

    void addTargetLevel(String targetId, String level);

    Result selectStatistics(Integer type, String id, Integer radarNear, Integer radarMiddle, Integer radarFar, Integer guidedNear, Integer guidedMiddle, Integer guidedFar);

    Result addDataMessage(String targetId, String subId, String id, String name, String url, String remark, String fileList);

    Result deleteDataMessage(String id);

    Result selectDataMessage(String targetId);

    Result selectDataMessageBySubId(String targetId, String subId);

    Result selectDataMessageById(String id);

    Result addSignMessage(String targetId, String subId, String id, String name, String url, String message, String icon, String remark);

    Result deleteSignMessage(String id);

    Result selectSignMessage(String targetId);

    Result selectSignMessageBySubId(String targetId, String subId);

    Result selectSignMessageById(String id);

    Result copyTypeOrSubType(JSONObject json);

}
